home *** CD-ROM | disk | FTP | other *** search
/ Disc to the Future 2 / Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin / MAC / THINKC / 4_0 / USEFUL_C / CURSORCT.H < prev    next >
Text File  |  1990-04-13  |  724b  |  32 lines

  1. /****************************************************************************
  2.  *
  3.  * FILE:    CursorCtl.h
  4.  * CREA:    Sven Axelsson, GU
  5.  * MODF:    lÜrdag 31 mars 1990 @ 19.50.19
  6.  * HIST:    90-03-31 (1.0)    First version.
  7.  *
  8.  ****************************************************************************/
  9.  
  10. # define    _H_CursorCtl
  11.  
  12. # include    <Quickdraw.h>
  13.  
  14. # define    IS_DA
  15.  
  16. typedef enum {
  17.     HIDDEN_CURSOR, I_BEAM_CURSOR, CROSS_CURSOR,
  18.     PLUS_CURSOR, WATCH_CURSOR, ARROW_CURSOR
  19. } Cursors;
  20.  
  21. typedef struct {
  22.     short            num_cursors;
  23.     short            index;
  24.     CursHandle        frames[1];
  25. } AcurRec, *AcurPtr, **AcurHdl;
  26.  
  27.  
  28. void        Init_Cursor( AcurHdl );
  29. void        Show_Cursor( Cursors );
  30. void        Hide_Cursor( void );
  31. void        Rotate_Cursor( long );
  32. void        Spin_Cursor( short );